<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <title>YTUI-BUTTON</title>
    <link rel="stylesheet" href="../css/ytui.css" />
    <script src="../js/zepto.min.js"></script>
    <script src="../js/html-size-calculation.js"></script>
    <script src="../js/yui-slider.js"></script>
</head>

<body class="header-fixed">
    <header class="header-bar bg-main">
        <a href="../index.html" class="header-left">
            <i class="icon icon-pre"></i>
            <span class="fz28">返回</span>
        </a>
        <h2 class="header-title">Slider</h2>
    </header>

    <section class="yui-slider" id="slider">
        <div class="yui-slider-content">
            <div>
                <a href="#">
                    <img src="../images/1.png" />
                </a>
                <div></div>
            </div>
            <div>
                <a href="#">
                    <img src="../images/1.png" />
                </a>
            </div>
            <div>
                <a href="#">
                    <img src="../images/1.png" />
                </a>
            </div>
            <div>
                <a href="#">
                    <img src="../images/1.png" />
                </a>
            </div>
        </div>
    </section>
    <div style="height:800px"></div>
    <script>
        $(function () {
            $("#slider").yuiSlider();
        })
    </script>
</body>



</html>